home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000094_news@newsmaster….columbia.edu _Thu Jan 7 06:29:19 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA25336
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 7 Jan 1999 06:29:18 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id GAA29753
for kermit.misc@watsun; Thu, 7 Jan 1999 06:29:18 -0500 (EST)
Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news-lond.gip.net!news.gsl.net!gip.net!nntp.news.xara.net!xara.net!news.itg.net.uk!usenet
From: Tim Hedger <hedger@globalnet.co.uk>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Using kermit when not logged in as root
Date: Thu, 07 Jan 1999 11:28:58 +0000
Organization: WestonPark
Lines: 70
Message-ID: <36949A79.1FD09D1E@globalnet.co.uk>
References: <76vso2$bc8$1@newnews.global.net.uk> <77069p$ark$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: 195.147.129.199
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i586)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:9724
Frank da Cruz wrote:
> In article <76vso2$bc8$1@newnews.global.net.uk>,
> Tim Hedger <news@hedger.globalnet.co.uk> wrote:
> : I've set up Kermit (using the Redhat rpm installation) on my Redhat 5.2
> : Linux machine.
> :
> : Having spent some time getting it configured properly (with entries in the
> : relevant init files to configure the modem etc) as root, I logged on as
> : another user and tried to use it.
> :
> : I got errors in the startup of kermit, when it tried to SET LINE
> : /dev/modem - I got "permission denied" - the same thing happened when I
> : issued the command manually.
> :
> : I'm able to use minicom to communicate through the same modem using this
> : non-root user, so I'm not sure what the permission denied problem is.
> :
> Because minicom is setuid and/or setgid to the groups and/or users who have
> write access to the UUCP lockfile directory and/or the dialout device.
>
> Please read the UNIX appendix of "Using C-Kermit" or the section of
> ckuins.doc (C-Kermit for UNIX Installation Instructions) on "Dialing Out and
> Coordinating with UUCP".
>
> The same obstacles must be dealt with in UNIX no matter what communication
> software you are installing. Minicom happened to come preinstalled this way
> so you didn't notice it.
>
> - Frank
Frank,
Thanks for your very prompt reply - I've read the relevant chapter, and checked
out the permissions of the various programs, files and devices, and they all
appear to be set up as required - I guess I must be missing something.
My kermit executable is setgid to uucp:
[root@th1 bin]# ls -l kermit
-rwxr-sr-x 1 root uucp 517832 Mar 14 1997 kermit
My lockfile directory is in group uucp:
[root@th1 /var]# ls -l /var | grep lock
drwxrwxr-x 5 root uucp 1024 Jan 7 11:14 lock
My modem is in group uucp:
[root@th1 /var]# ls -l /dev/modem
lrwxrwxrwx 1 root uucp 4 Dec 29 20:23 /dev/modem -> cua0
Despite all this, I get:
hedgert@th1.linux% /home/hedgert kermit
Warning: terminal type unknown: "xterm"
Fullscreen file transfer display disabled.
Executing /etc/kermit/ckermit.ini for UNIX ...
Sorry, terminal type unknown: "xterm"
Executing /etc/kermit/ckermit.local.ini ...
Adding system dialing directory /etc/kermit/ckermit.phone ...
/dev/modem: Permission denied
Sorry, access to device denied: /dev/modem
when starting kermit, with "set line /dev/modem" at the end of my
/etc/kermit/ckermit.local.ini file
Can you see what I'm doing wrong?
--
Tim Hedger